/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package util;

/**
 *
 * @author wudihua
 */
public class StringConvertUtil {
    
    
    public static String convertGender(String gender) {
        if(gender.equals("男")) {
            gender = "male";
        }else if (gender.equals("女")){
            gender = "female";
        }else if (gender.equals("其他")){
            gender = "other";
        }else if (gender.equals("未知")){
            gender = "unknown";
        }
        return gender;
    }
    
    
}
